package com.itheima.dao;

import com.itheima.pojo.Article;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;

import java.util.List;

public interface ArticleDao extends ElasticsearchCrudRepository<Article,Long> {
    List<Article> findByTitle(String title);

    List<Article> findByContent(String Content);
}
